package com.cc.model.dto

import jakarta.validation.constraints.Size
import java.io.Serializable

/**
 * DTO for {@link com.cc.model.DiCategory}
 */
data class DiCategoryDto(
    @field:Size(max = 32) val id: String? = null,
    @field:Size(max = 300) val name: String? = null,
    val categoryPid: Long? = null,
    @field:Size(max = 32) val repId: String? = null,
    @field:Size(max = 300) val categoryId: String? = null,
    @field:Size(max = 300) val path: String? = null,
    @field:Size(max = 300) val code: String? = null,
    val isDefault: Int? = null
) : Serializable